<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>
<h1>登录</h1>
<hr>
<span th:text="${msg}" style="color: red"></span>
<form th:action="@{/login}" method="post">
    用户名:<input type="text" name="username" placeholder="用户名"><br>
    密码:<input type="password" name="password" placeholder="密码"><br>
        <input type="submit">
</form>
</body>
</html>